<?php
require_once("vcl/vcl.inc.php");
//Includes
use_unit("components4phpfull/jtsitetheme.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");

//Class definition
class Set_Wizard_Complete extends Page
{
       public $imgFinish = null;
       public $Image1 = null;
       public $Label2 = null;
       public $Label1 = null;
       public $Image2 = null;
       public $hiddenComp = null;
       public $JTSiteTheme1 = null;


       function imgFinishJSMouseOut($sender, $params)
       {

       ?>
       //Add your javascript code here
       document.images['imgFinish'].src = 'image/btn_ok.png';
       <?php

       }

       function imgFinishJSMouseOver($sender, $params)
       {

       ?>
       //Add your javascript code here
       document.images['imgFinish'].src = 'image/btn_ok2.png';
       <?php

       }

       function imgFinishJSClick($sender, $params)
       {

       ?>
       //Add your javascript code here
       window.close();
       <?php

       }



       function Set_Wizard_CompleteCreate($sender, $params)
       {
       $comp_id = $_SESSION['company_id'];
       $this->hiddenComp->setValue($comp_id);


       }

}

global $application;

global $Set_Wizard_Complete;

//Creates the form
$Set_Wizard_Complete=new Set_Wizard_Complete($application);

//Read from resource file
$Set_Wizard_Complete->loadResource(__FILE__);

//Shows the form
$Set_Wizard_Complete->show();

?>